package com.mycode.command15.model;

/**
 * 具体命令类：抽象命令类的子类，对应具体的接收者对象，讲接收者对象的动作绑定其中
 */
public class ConcreteCommand extends Command {

    private Receiver receiver;
    @Override
    public void execute() {
        receiver.action();
    }
}
